import QtQuick 2.0
import QtQuick.Controls 2.3
import QtQuick.Window
import FluentUI
import Qt5Compat.GraphicalEffects

Rectangle {
    id:loginPage
    width: 400
    height: 300
    color: "white"
    // radius: 8

    FluPasswordBox{
        id:userName
        placeholderText: qsTr("Please enter your userName")
        anchors.centerIn: parent
    }
    FluPasswordBox{
        id: passWord
        x: userName.x
        y: userName.y + 50
        placeholderText: qsTr("Please enter your passWord")
        //anchors.centerIn: parent
    }

    Button {
        x: passWord.x
        y: passWord.y + 50
        width: 250
        text: "登录"
        // anchors.centerIn: parent
        onClicked: {
            loginPage.visible = false
            analyiz.visible = true
        }
    }
}
